﻿namespace YK.Console.Business.Roles;

public class RoleInfoOutput: AuditableOutput
{
    /// <summary>
    /// 角色名称
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 描述
    /// </summary>
    public string? Remark { get; set; }

    /// <summary>
    /// 排序号
    /// </summary>
    public int Sort { get; set; }

    /// <summary>
    /// 是否启用
    /// </summary>
    public EnabledStatusEnum Enabled { get; set; }
}

/// <summary>
/// 角色授权信息
/// </summary>
public class RoleAuthInfoOutput:BaseOutput
{
    /// <summary>
    /// 菜单Id集合
    /// </summary>
    public List<Guid> MenuRouteIds { get; set; }

    /// <summary>
    /// 权限组Id集合
    /// </summary>
    public List<Guid> PermissionGroupIds { get; set; }
}